added debian-specific search path for modules
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Thu, 28 Jan 2016 20:30:08 +0000 (21:30 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Thu, 28 Jan 2016 20:30:08 +0000 (21:30 +0100)
debian/patches/introjucer-modulepath.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/introjucer-modulepath.patch b/debian/patches/introjucer-modulepath.patch
new file mode 100644 (file)
index 0000000..8f19789
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Debian specific search-path for modules
+Author: Debian
+Forwarded: not-needed
+Last-Update: 2015-01-28
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/extras/Introjucer/Source/Application/jucer_MainWindow.cpp
++++ juce/extras/Introjucer/Source/Application/jucer_MainWindow.cpp
+@@ -577,5 +577,8 @@
+         f = parent;\r
+     }\r
\r
++    File debian ("/usr/share/juce-utils");\r
++    if (isJuceFolder(debian))\r
++        return debian.getChildFile ("modules");\r
+     return File::nonexistent;\r
+ }\r
index 7b38f3d52d06c8e77eced69fd9a2cd40adce15a5..b2e9ef0852ff2c58d56024a2fa02fb4c3e17b561 100644 (file)
@@ -1,4 +1,5 @@
 no-ztypes.patch
 reproducible-date.patch
+introjucer-modulepath.patch
 do-not-track.patch
 test-build